package com.shop.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * com.angluzha.shop.entity文档说明
 *
 * @author Angluzha
 * @version 2022/9/13
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private Integer id;
    private String username;
    private Integer sex;
    private String email;
    private String password;
    private Integer status = 0;
    private Date createDate;
    private String uuid;

    public User(Integer id) {
        this.id = id;
    }

    public User(String username) {
        this.username = username;
    }
}
